
from pyglet_render.packages import *
from pyglet_render.attr import Attr


class Color(Attr):
    def __init__(self, vec4):
        self.vec4 = vec4
    def enable(self):
        glColor4f(*self.vec4)